package com.pulook.daikuan.dao;
 
 
 import java.util.List;
 import java.util.Map;
 import org.apache.ibatis.annotations.Param;
 import com.pulook.daikuan.model.Diaocha; 

 public interface DiaochaMapper  { 
 
 public void insert(Diaocha  diaocha);
 
  public void delById(@Param("id") int id);
 
 public void updateById(Diaocha  diaocha);
 
  public List<Diaocha> getDiaochaByConditionAsc(Diaocha  diaocha);
 
  public List<Diaocha> getDiaochaByConditionDesc(Diaocha  diaocha);
 
  public List<Diaocha> getDiaochaByConditionOrder(Diaocha  diaocha);
 
  public List<Diaocha> getDiaochaByConditionOrderIds(Map<String,Object> params);
 
  public List<Diaocha> getDiaochaByConditionOrderCols(Map<String,Object> params);
 
  public Diaocha getDiaochaById( @Param("id") int id );
 
  public int getByConditionForNum(Diaocha  diaocha);
 
  public void insertBatch(List<Diaocha> list); }